|
![](/i/fill.gif) |
"Thorsten Froehlich" wrote:
> It is not a bug in POV-Ray but in your scene.
> The origin of the image is at the upper left
> of the box while the origin of the function
> is the center of the image. Applying an image
> map instead of the function image will clarify
> the origin.
Funny, because when rendering the code below I see an upside-down image.
Another bug in my scene?
camera {location -3*z}
#default {finish {ambient 1}}
#declare I = function {pigment {image_map {png "test.png"}}}
#declare F = function {I(x,y,z).gray}
plane {
-z, 0
pigment {function {F(x,y,z)}}
}
box {
<0,0,-0.001>,<1,1,1>
pigment {
image_map {function 100, 100 {F(x,y,z)}}
}
}
Post a reply to this message
|
![](/i/fill.gif) |